<%--
  User: cjp
  Date: 2007-7-11
  Time: 22:29:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp"%>
<html>
  <head><title>搜索结果</title></head>
  <body>
  <div class="maintable"><br>
<div class="subtable nav" style="width: 100%">
<f:nav/>»搜索
</div><br>

<table width="100%" cellspacing="0" cellpadding="0" align="center" style="margin-bottom: 5px">
<tr><td valign="bottom"></td></tr>
</table>

<div class="spaceborder spacebottom" style="width: 100%; clear: both">
<table cellspacing="0" cellpadding="5" width="100%" style="table-layout: fixed; word-wrap: break-word">
<tr class="header">
<td align="center" width="35%">标题</td>
<td align="center" width="25%">论坛</td>
<td align="center" width="20%">作者</td>
<td align="center" width="20%">发表时间</td>
</tr>

    <c:forEach items="${actionBean.posts.elements}" var="post">
<tr class="row" onMouseOver="this.style.backgroundColor='#F3FDF2'" onMouseOut="this.style.backgroundColor='#FFF'">
<td class="subject">
<div class="right">
</div>
<a href="${ctx}/thread.do?tid=${post.topicId}" target="_blank" >${post.title}</a><span class="smalltxt"></span></td>
<td align="center"><a href="${ctx}/forum.do?forumId=${post.forumId}">${forums[post.forumId].name}</a></td>
<td align="center">
<a href="space-uid-1.html">${post.authorName}</a>
</td>
    <td align="center">
        <span class="smalltxt lighttxt">${i:cnDate(post.createTime)}</span>
    </td>
</tr>
</c:forEach>
</table></div>

<div class="subtable" style="width: 100%; margin-top: 5px">
</div>

       <div class="maintable" style="clear:both">
    <table width="100%" cellspacing="0" cellpadding="0" align="center" style="margin-bottom: 5px">
        <tr>
            <td valign="bottom">

                <i:page curPage="${actionBean.posts.pageNumber}" totalCount="${actionBean.posts.totalElements}"
                        viewCount="${actionBean.posts.pageSize}"></i:page>
            </td>

        </tr>
    </table>
</div>
<br>
<br>
</div>
  </body>
</html>